package com.develop.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum BusinessExceptionInfo {
    UNKNOWN("00", "未知异常"),
    SERVICE("01", "服务异常"),
    DATA("02","数据异常"),
    CONVERSION("03", "转换异常"),
    PARAMETER("04", "未知参数");

    @Getter
    private String code;
    @Getter @Setter
    private String comment;
}
